﻿using Infrastructure.Persistence;
using Ninject.Modules;
using SocialFront.Core.Persistence;

namespace SocialFront.Core.NinjectModules
{
    public class PersistenceModule : NinjectModule
    {
        public override void Load()
        {
            Kernel.Bind<IReadOnlyRepository>().To<Repository>();
            Kernel.Bind<IRepository>().To<Repository>();
        }
    }
}
